﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CheckCookie.aspx.cs" Inherits="AlbonWeb.Account.Prepare" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>CheckCookie</title>
    <link href="/Common/css/Login.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="regForm" runat="server">
    <div id="checkCookie" class="registPage">
        <div>
            System Message:
            <%=Request["cookieMessage"]%></div>
        <div style="padding-left: 15px;">
            <b>Describe:</b>
            <ul>
                <li>No Cookies:There are no cookies on you computer.</li>
                <li>No Data:No cookies exists on the server.</li>
                <li>No Match:No related cookie info on the server.</li>
            </ul>
        </div>
        <div>
            The Information Below Has Been Registered<br />
        </div>
        <div>
            <b>YOU CAN:</b> Select a computerName and register it again
            <asp:Repeater ID="repMain" runat="server">
                <ItemTemplate>
                    <br />
                    ☉&nbsp;<%#Eval("computerName")%>/<%#Eval("browser")%>/<%#Boolean.Parse(Eval("passed").ToString())?"Pass":"Not Pass"%><a
                        class="reRegister" href='Register.aspx?id=<%#Eval("ID")%>'>Re-Register</a>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        <div style='display: <%=cookiebll.allowRegist(Request["loginname"].ToString())?"inline":"none"%>'>
            <b>OR</b>:<a id="newRegister" href='/Common/Register.aspx?id=0&loginname=<%=Request["loginname"].ToString()%>'>
                Register a new cookie for your computer</a></div>
    </div>
    </form>
</body>
</html>
